<?php 
namespace app\single\api;


use app\single\model\LogLoginModel;

class PlayerFeed
{
    public function __construct()
    {
    }

    public function run($params)
    {
        $data["ret"] = 1;
        $pf = $params["platform"] ?? "xiwan2";
        $userid=$params["userid"];
        $loginModel = new LogLoginModel();
        $status = $loginModel->getUserByOfflineUserid($userid,$pf);
        $data["status"] = $status;
        return $data;
    }
}